<?php
class List_Service extends CWidget{
    public function init(){
        
    }
    public function List_Service(){
        $criteria = new CDbCriteria;
        $criteria->order ="id DESC";
        $criteria->limit = 3;
        $model = Service::model()->findAll($criteria);
        $this->render('list_service',array('model'=>$model));
    }
}

?>